@charset "UTF-8";
@import 'config';

.header {
  @include h(88);
  background-color: #da0900;
  position: relative;
  margin: 0 auto;
  img {
    display: inline-block;
    position: absolute;
    @include l(30);
    @include lh(88);
    @include mt(24);
    @include w(22);
    @include h(42);
  }
  .title {
    @include fs(36);
    color: white;
    display: inline-block;
    position: absolute;
    left: 42%;
    @include w(150);
    @include lh(88);
  }
}

.main {
  position: relative;
  h6{
    margin: 0 auto;
    @include fs(28);
    @include lh(50);
    @include pl(30);
  }
  background-color: #e7e7e7;
  .info {
    @include mb(20);
    background-color: white;
    .details{
      @include ml(-20);
      @include mr(-20);
      border: 1px solid black;
      border-left:none;
      border-right: none;
      .name{
        @include mt(10);
        @include fs(24);
        display: inline-block;
        @include pl(50);
        @include lh(40);
      }
      .tel{
        @include fs(24);
        display: inline-block;
        @include ml(108);
      }
      .address{
        @include pl(50);
        @include lh(40);
        @include mb(10);
        img{
          @include w(26);
          vertical-align: middle;
        }
        span{
          @include fs(24);
        }
      }
    }
    .add{
      @include fs(24);
      @include lh(50);
      @include pl(30);
      img{
        @include w(32);
        vertical-align: middle;
      }
    }
  }
  .product-info{
    background-color: white;
    @include w(710);
    margin: 0 auto;
    @include pl(20);
    @include pr(20);
    .describe{
      border-top: 1px solid #999;
      @include ml(-20);
      @include mr(-20);
      .describe-info{
        background-color: #f3f3f3;
        @include mt(20);
        @include h(250);
        img{
          @include w(188);
          @include h(188);
          @include ml(30);
          @include mt(30);
          display: inline-block;
        }
        .content{
          position: relative;
          display: inline-block;
          @include w(420);
          @include ml(10);
          @include mt(36);
          vertical-align: top;
          h4{
            @include fs(24);
            @include lh(30);
            font-style:normal;
            font-weight: normal;
          }
          .colour{
            @include mt(10);
            @include mb(50);
            color: #999999;
            font-style:normal;
            @include fs(24);
            i{
              font-style:normal;
            }
          }
          i{
            @include fs(24);
            font-style:normal;
            @include mb(20)
          }
          span{
            position: absolute;
            @include fs(24);
            @include r(-40);
          }

        }
      }
      .way{
        @include w(700);
        border-top: 1px solid #999;
        @include ml(-20);
        @include mr(-20);
        @include fs(24);
        @include pl(70);
        position: relative;
        color: #666666;
        b{
          @include lh(100);
        }
        .method{
          position: absolute;
          @include r(30);
          @include t(0);
          span{
            @include lh(100);
            @include mr(20);
          }
          img{
            @include w(14);
            @include h(26);
            vertical-align: middle;
          }
        }


      }
      textarea{
        @include w(700);
        margin: 0 auto;
        border-left:none;
        border-right:none;
        @include fs(20);
        @include pl(50);
        @include pt(50);
      }
    }
    .subtotal{
      position: relative;
      display: inline-block;
      @include r(-400);
      @include mt(40);
      @include mb(20);
      @include pb(20);
      .num{
        @include fs(24);
        color: #808080;
        display: inline-block;
        i{
          @include ml(-6);
        }
      }
      .money{
        @include fs(24);
        color: #808080;
        display: inline-block;
        i{
          color: red;
          @include ml(-6);
        }
      }
    }
  }
  .anonymous{
    background-color: white;
    @include mt(20);
    h6{
      color: #808080;
      @include fs(24);
      @include lh(60);
      display: inline-block;
    }
    i{
      display: inline-block;
      @include w(24);
      @include h(24);
      border:1px solid red;
      position: relative;
      @include t(6);
      @include r(-550);
    }
    i:after{
      position: absolute;
      @include t(-4);
      @include l(0);
      content: '';
      display: block;
      @include w(38);
      @include h(30);
      background-image: url('../img/confirm_order_tick.png');
      background-repeat: no-repeat;
      @include bgp(0,0);
    }

  }
  .balance {
    position: relative;
    @include h(100);
    @include mt(100);
    background-color: white;
    .total {
      display: inline-block;
      @include fs(24);
      @include ml(350);
      i {
        @include fs(30);
        @include ml(-10);
        @include lh(100);
        color: red;
      }
    }
    button {
      position: absolute;
      display: inline-block;
      @include fs(30);
      @include w(198);
      @include h(100);
      @include r(0);
      background-color: red;
      color: white;
      border: transparent;
    }
  }
  .confirm-payment{
    background-color: white;
    position: absolute;
    @include b(0);
    @include l(0);
    .confirm-way{
      border-bottom: 1px solid #999;
      margin:0 auto;
      @include w(710);
      @include pl(20);
      @include pt(20);
      @include pr(20);
      .back{
        @include w(22);
        @include h(42);
      }
      strong{
        @include ml(160);
        @include fs(48);
        text-align: center;
      }
      span{
        display: block;
        text-align: center;
        @include mt(30);
        @include fs(48);
      }
      .methods{
        i{
          @include fs(24);
          @include lh(56);
        }
        .bank{
          position: relative;
          display: inline-block;
          .icon{
            @include w(34);
            @include h(34);
            @include ml(100);
            vertical-align: middle;
          }
          b{
            @include fs(24);
          }
          .tick{
            vertical-align: middle;
            position: absolute;
            @include r(-250);
            @include t(0);
          }
        }
      }
    }
    .password{
      @include ml(36);
      @include mt(50);
      @include mr(32);
      @include w(688);
      input{
        @include w(110);
        @include h(90);
        border: 1px solid #999;
        @include ml(-10);
      }
      input:first-child{
        @include ml(0);
        border-radius: 10% 0 0 10%;
      }
      input:nth-child(6){
        border-radius:0 10% 10% 0;
      }
      button{
        @include w(240);
        @include h(50);
        background-color: red;
        color: white;
        @include bdr(10);
        border: transparent;
        @include ml(210);
        @include mr(210);
      }
      span{
        @include fs(24);
        color: #0083e3;
        @include lh(76);
        @include ml(530);
      }
    }
    .number{
      @include mt(30);
      border: transparent;
      tr{
        td{
          @include w(250);
          @include h(110);
          text-align: center;
          border: 1px solid #999;
          @include pt(20);
          @include fs(40);
          i{
            display: block;
            @include lh(48);
            @include fs(14);
          }
        }
      }
      tr:nth-of-type(4){
        td:nth-of-type(2n-1){
          background-color: #d1d5db;
        }
      }
    }
  }
  .shade{
    background-color: #595959;
    position: absolute;
    @include h(500);
    @include t(-100);
    opacity: 0.4;
    width: 100%;
  }

}
a{

  height: 100%;
  width: 100%;
  position: absolute;
  @include t(0);
}